package com.dao;

import com.pojo.Department;
import com.vo.DepartmentVo;

import java.util.List;

/**
 * @author mornd
 * @date 2020/11/16 - 10:11
 */
public interface DepartmentDao {
    //查询部门集合
    List<Department> findDepartment(DepartmentVo departmentVo);

    //添加部门
    int addDepartment(Department department);

    //修改部门
    int updateDepartment(Department department);

    //删除部门
    int deleteDepartment(Integer deptId);
}
